package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 分享统计
 * </p>
 *
 * @author chenxuebin
 * @since 2018-07-12
 */
@TableName("t_sharestat")
public class Sharestat extends Model<Sharestat> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	@TableField("audience_type")
	private Integer audienceType;
	@TableField("audience_id")
	private Integer audienceId;
	@TableField("content_type")
	private Integer contentType;
	@TableField("content_id")
	private Integer contentId;
	private Long mid;
	private Long uid;
	private Date createtime;
	private Date modifytime;
	private Long modifier;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getAudienceType() {
		return audienceType;
	}

	public void setAudienceType(Integer audienceType) {
		this.audienceType = audienceType;
	}

	public Integer getAudienceId() {
		return audienceId;
	}

	public void setAudienceId(Integer audienceId) {
		this.audienceId = audienceId;
	}

	public Integer getContentType() {
		return contentType;
	}

	public void setContentType(Integer contentType) {
		this.contentType = contentType;
	}

	public Integer getContentId() {
		return contentId;
	}

	public void setContentId(Integer contentId) {
		this.contentId = contentId;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Sharestat{" +
			"id=" + id +
			", audienceType=" + audienceType +
			", audienceId=" + audienceId +
			", contentType=" + contentType +
			", contentId=" + contentId +
			", mid=" + mid +
			", uid=" + uid +
			", createtime=" + createtime +
			"}";
	}
}
